﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PubSubLite.Configuration;

namespace PubSubLite.Messaging
{
    /// <summary>
    /// Listens to the message channel and forwards messages
    /// to a dispatcher.
    /// </summary>
    public interface IMessageChannelListener
    {
        /// <summary>
        /// Starts listening
        /// </summary>
        void Start();
        /// <summary>
        /// Stops listening
        /// </summary>
        void Stop();
    }
}
